package com.mk.wardsystemserver.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mk.wardsystemserver.pojo.Employee;
import com.mk.wardsystemserver.pojo.Patient;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mk.wardsystemserver.pojo.RespPageBean;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2022-03-24
 */
public interface PatientMapper extends BaseMapper<Patient> {

    IPage<Employee> getPatientByPage( Page<Employee> page, @Param("patient") Patient patient);

    List<Patient> getPayDetails();

   IPage<Patient> getInfo(Page<Patient> page, @Param("patient") Patient patient);
}
